import { Module } from '@nestjs/common';
import { ScheduleService } from './schedule.service';
import { ScheduleController } from './schedule.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import BaseCommemorationDayModelEntity from 'src/entities/base-commemoration-day-model.entity';
import UserCommemorationDayModelEntity from 'src/entities/user-commemoration-day-model.entity';
import { HttpModule } from '@nestjs/axios';
import HoroscopeEntity from 'src/entities/horoscope.entity';
import UserExtendEntity from 'src/entities/user-extend.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      BaseCommemorationDayModelEntity,
      UserCommemorationDayModelEntity,
      HoroscopeEntity,
      UserExtendEntity
    ]),
    HttpModule
  ],
  controllers: [ScheduleController],
  providers: [ScheduleService]
})
export class ScheduleModule {}
